package com.user.query.pay.service;


import com.user.query.model.PayInfo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface PayInfoService {

	/**
	 * 微信支付
	 * @param orderId
	 * @return
	 */
	public String wxpay(String orderId);
	/**
	 * 微信退款
	 * @param orderId
	 * @return
	 */
	public String wxtk(String orderId);

	/***
	 * 是否支付成功
	 * @param orderId
	 * @return
	 */
	public int verify(String orderId);
	/*public int verify2(OrderForm order);*/

	/***
	 * 微信回调
	 * @param request
	 * @param response
	 */
	public void wxnotify(HttpServletRequest request,
						 HttpServletResponse response);
}
